package drds.binlog.common;

import org.apache.commons.lang.exception.NestableRuntimeException;


public class BinlogException extends NestableRuntimeException
{

    private static final long serialVersionUID = -654893533794556357L;

    public BinlogException(String errorCode)
    {
        super(errorCode);
    }

    public BinlogException(String errorCode, Throwable cause)
    {
        super(errorCode, cause);
    }

    public BinlogException(String errorCode, String errorDesc)
    {
        super(errorCode + ":" + errorDesc);
    }

    public BinlogException(String errorCode, String errorDesc, Throwable cause)
    {
        super(errorCode + ":" + errorDesc, cause);
    }

    public BinlogException(Throwable cause)
    {
        super(cause);
    }

    public Throwable fillInStackTrace()
    {
        return this;
    }

}
